package com.gitee.wsl.platform.thread.task.api


/**
 * The equivalent of `Function<In, Out>` for processing I/O that can
 * throw exceptions.
 *
 * @see DelayedFun for the variant with no parameters
 */
fun interface ProcessFun<In, Out> {
    @Throws(Exception::class)
    fun call(input: In): Out
}